<br/>
<table width="100%" border="0" class="tbl"  cellspacing="0">
    <thead>
        <tr height="30">
            <th>порядковий номер</th>
            <th>група товарів</th>
            <th>компанія</th>
            <th>підгрупа товарів</th>
            <th>назва товару</th>
            <th>Ціна</th>
            <th>опис товару</th>
            
            <th>функції</th>
            
            
            
        </tr>
    </thead>
<? foreach ($products as $product):?>
<tr>
    
    <td width="100" align="center"><?=$product->id?></td>
    <td width="100" align="center"><?=$product->prodGroup->product_name?></td>
    <td width="100" align="center"><?=$product->brand->company_name?></td>
    <td width="100" align="center"><?=$product->subGroup->catalog?></td>
    <td width="100" align="center"><?=$product->produkt_name?></td>
    <td width="100" align="center"><?=$product->product_price?></td>
    <td width="100" align="center"><?=$product->about->about?></td>
    
    
    
    
    
    
    <td width="100" align="center">
    <?=HTML::anchor('admin/products/edit/'. $product->id, HTML::image('public/images/view/edit.png'))?>

    <?=HTML::anchor('admin/products/delete/'. $product->id, HTML::image('public/images/view/delete.png'))?>

    </td>
</tr>
<? endforeach?>

</table>

<br/>
<p align="right">
<?=HTML::image('public/images/view/add.png', array('valign' => 'top'))?>

<?=HTML::anchor('admin/products/add', 'Добавить')?>
</p>